<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>专业工具资源</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .text-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .copy-button {
            transition: all 0.2s ease;
        }
        .copy-button:hover {
            transform: scale(1.05);
        }
        .copy-button:active {
            transform: scale(0.95);
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }
        .float-animation {
            animation: float 6s ease-in-out infinite;
        }
        .glass-effect {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }
        .mermaid {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 px-6">
        <div class="max-w-6xl mx-auto text-center">
            <div class="mb-8 float-animation">
                <i class="fas fa-toolbox text-6xl opacity-90"></i>
            </div>
            <h1 class="text-5xl md:text-6xl font-bold mb-6" style="font-family: 'Noto Serif SC', serif;">
                专业工具资源库
            </h1>
            <p class="text-xl md:text-2xl opacity-90 max-w-3xl mx-auto leading-relaxed">
                精心整理的专业工具集合，助力您的工作效率提升
            </p>
        </div>
    </section>

    <!-- Main Content -->
    <main class="py-16 px-6">
        <div class="max-w-6xl mx-auto">
            <!-- Resource Card -->
            <div class="glass-effect rounded-2xl shadow-2xl p-8 md:p-12 card-hover mb-12">
                <div class="flex items-center mb-8">
                    <i class="fas fa-cloud-download-alt text-4xl text-gradient mr-4"></i>
                    <h2 class="text-3xl font-bold text-gray-800">资源下载</h2>
                </div>
                
                <!-- Image Preview -->
                <div class="mb-10 text-center">
                    <div class="inline-block rounded-xl overflow-hidden shadow-lg">
                        <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1744609364478-3c3dbc95-5d34-4d79-b33f-6c7a8f5c571a.png" 
                             alt="工具预览" 
                             class="max-w-full h-auto"
                             style="max-height: 400px;">
                    </div>
                </div>

                <!-- Download Info -->
                <div class="grid md:grid-cols-2 gap-8">
                    <div class="bg-gradient-to-r from-purple-50 to-indigo-50 rounded-xl p-6">
                        <h3 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
                            <i class="fas fa-link mr-3 text-indigo-600"></i>
                            下载链接
                        </h3>
                        <div class="bg-white rounded-lg p-4 flex items-center justify-between">
                            <code class="text-sm text-gray-700 break-all" id="download-link">
                                https://pan.baidu.com/s/1yMt0UdcBd_u329tFAzIMDw?pwd=83ic
                            </code>
                            <button onclick="copyToClipboard('download-link')" 
                                    class="ml-4 copy-button bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500">
                                <i class="fas fa-copy"></i>
                            </button>
                        </div>
                    </div>

                    <div class="bg-gradient-to-r from-pink-50 to-purple-50 rounded-xl p-6">
                        <h3 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
                            <i class="fas fa-key mr-3 text-purple-600"></i>
                            提取码
                        </h3>
                        <div class="bg-white rounded-lg p-4 flex items-center justify-between">
                            <code class="text-2xl font-bold text-gray-700" id="extract-code">83ic</code>
                            <button onclick="copyToClipboard('extract-code')" 
                                    class="ml-4 copy-button bg-purple-600 text-white px-4 py-2 rounded-lg hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
                                <i class="fas fa-copy"></i>
                            </button>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Features Section -->
            <div class="grid md:grid-cols-3 gap-8 mb-12">
                <div class="glass-effect rounded-xl p-6 text-center card-hover">
                    <i class="fas fa-shield-alt text-4xl text-green-600 mb-4"></i>
                    <h3 class="text-xl font-semibold mb-2">安全可靠</h3>
                    <p class="text-gray-600">所有资源经过严格筛选，确保安全无毒</p>
                </div>
                <div class="glass-effect rounded-xl p-6 text-center card-hover">
                    <i class="fas fa-rocket text-4xl text-blue-600 mb-4"></i>
                    <h3 class="text-xl font-semibold mb-2">高速下载</h3>
                    <p class="text-gray-600">百度网盘存储，支持高速下载体验</p>
                </div>
                <div class="glass-effect rounded-xl p-6 text-center card-hover">
                    <i class="fas fa-sync-alt text-4xl text-purple-600 mb-4"></i>
                    <h3 class="text-xl font-semibold mb-2">持续更新</h3>
                    <p class="text-gray-600">定期更新工具版本，保持最新状态</p>
                </div>
            </div>

            <!-- Workflow Visualization -->
            <div class="glass-effect rounded-2xl p-8 mb-12">
                <h2 class="text-2xl font-bold text-center mb-8 text-gray-800">
                    <i class="fas fa-sitemap mr-3 text-gradient"></i>
                    使用流程
                </h2>
                <div class="mermaid">
                    graph LR
                        A[访问链接] --> B[输入提取码]
                        B --> C[下载资源]
                        C --> D[解压使用]
                        
                        style A fill:#667eea,stroke:#fff,stroke-width:2px,color:#fff
                        style B fill:#764ba2,stroke:#fff,stroke-width:2px,color:#fff
                        style C fill:#667eea,stroke:#fff,stroke-width:2px,color:#fff
                        style D fill:#764ba2,stroke:#fff,stroke-width:2px,color:#fff
                </div>
            </div>

            <!-- Tips Section -->
            <div class="bg-gradient-to-r from-yellow-50 to-orange-50 rounded-2xl p-8">
                <h2 class="text-2xl font-bold mb-6 text-gray-800">
                    <i class="fas fa-lightbulb mr-3 text-yellow-600"></i>
                    使用提示
                </h2>
                <div class="space-y-4">
                    <div class="flex items-start">
                        <i class="fas fa-check-circle text-green-600 mt-1 mr-3"></i>
                        <p class="text-gray-700">请确保您的网络环境稳定，以获得最佳下载体验</p>
                    </div>
                    <div class="flex items-start">
                        <i class="fas fa-check-circle text-green-600 mt-1 mr-3"></i>
                        <p class="text-gray-700">建议使用百度网盘客户端下载大文件，速度更快</p>
                    </div>
                    <div class="flex items-start">
                        <i class="fas fa-check-circle text-green-600 mt-1 mr-3"></i>
                        <p class="text-gray-700">如遇到链接失效，请及时反馈，我们会尽快更新</p>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <script>
        // Initialize Mermaid
        mermaid.initialize({ 
            startOnLoad: true,
            theme: 'default',
            themeVariables: {
                primaryColor: '#667eea',
                primaryTextColor: '#fff',
                primaryBorderColor: '#764ba2',
                lineColor: '#5a67d8',
                secondaryColor: '#764ba2',
                tertiaryColor: '#fff'
            }
        });

        // Copy to clipboard function
        function copyToClipboard(elementId) {
            const element = document.getElementById(elementId);
            const text = element.textContent;
            
            navigator.clipboard.writeText(text).then(() => {
                // Show success feedback
                const button = element.nextElementSibling;
                const originalHTML = button.innerHTML;
                button.innerHTML = '<i class="fas fa-check"></i>';
                button.classList.add('bg-green-600', 'hover:bg-green-700');
                
                setTimeout(() => {
                    button.innerHTML = originalHTML;
                    button.classList.remove('bg-green-600', 'hover:bg-green-700');
                }, 2000);
            }).catch(err => {
                console.error('Failed to copy text: ', err);
            });
        }

        // Add smooth scroll behavior
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                document.querySelector(this.getAttribute('href')).scrollIntoView({
                    behavior: 'smooth'
                });
            });
        });
    </script>
</body>
</html>